var result = 0;
var i = 1;
while(i<=100){
    result += i;
    i++;
}
console.log(result);
